#ifndef __RECKON__MACRO_DEFINITIONS_H__
#define __RECKON__MACRO_DEFINITIONS_H__

#define SAFE_DELETE(ptr)	if (ptr != nullptr) {delete ptr; ptr = nullptr;}
#define SAFE_DELETE_AR(arr) if (arr != nullptr) {delete [] arr; arr = nullptr;}

#define _repeat do
#define _until(exp)	while(!exp)

#endif // __RECKON__MACRO_DEFINITIONS_H__